package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 酒店信息对象 hotel
 * 
 * @author xdh
 * @date 2024-06-25
 */
public class Hotel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店id */
    private Integer hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelName;

    /** 酒店地址 */
    @Excel(name = "酒店地址")
    private String hotelAddress;

    /** 酒店星级（3/4/5） */
    @Excel(name = "酒店星级", readConverterExp = "3=/4/5")
    private Integer hotelType;

    /** 所属景区 */
    @Excel(name = "所属景区")
    private Integer areaId;

    /** 酒店一间房的价格 */
    @Excel(name = "酒店一间房的价格")
    private Integer price;

    /** 含早餐（1为含有，2不含有） */
    @Excel(name = "含早餐", readConverterExp = "1=为含有，2不含有")
    private Integer breakfast;

    /** 接机服务（1为含有，2不含有） */
    @Excel(name = "接机服务", readConverterExp = "1=为含有，2不含有")
    private Integer pickup;

    public void setHotelId(Integer hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Integer getHotelId() 
    {
        return hotelId;
    }
    public void setHotelName(String hotelName) 
    {
        this.hotelName = hotelName;
    }

    public String getHotelName() 
    {
        return hotelName;
    }
    public void setHotelAddress(String hotelAddress) 
    {
        this.hotelAddress = hotelAddress;
    }

    public String getHotelAddress() 
    {
        return hotelAddress;
    }
    public void setHotelType(Integer hotelType) 
    {
        this.hotelType = hotelType;
    }

    public Integer getHotelType() 
    {
        return hotelType;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setPrice(Integer price) 
    {
        this.price = price;
    }

    public Integer getPrice() 
    {
        return price;
    }
    public void setBreakfast(Integer breakfast) 
    {
        this.breakfast = breakfast;
    }

    public Integer getBreakfast() 
    {
        return breakfast;
    }
    public void setPickup(Integer pickup) 
    {
        this.pickup = pickup;
    }

    public Integer getPickup() 
    {
        return pickup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hotelId", getHotelId())
            .append("hotelName", getHotelName())
            .append("hotelAddress", getHotelAddress())
            .append("hotelType", getHotelType())
            .append("areaId", getAreaId())
            .append("price", getPrice())
            .append("breakfast", getBreakfast())
            .append("pickup", getPickup())
            .toString();
    }
}
